# from moment.data.classification_datasets import get_classification_datasets
# from joblib import Parallel, delayed

# classification_datasets = get_classification_datasets(collection="UCR")
# def get_dataset_properties(dataset):
#     data_obj = ClassificationDataset(full_file_path_and_name=dataset,
#                                      output_type="multivariate")
#     return (dataset, data_obj.n_channels, data_obj.length_each_timeseries)

# dataset_properties = Parallel(n_jobs=10)(delayed(get_dataset_properties)(dataset) for dataset in tqdm(classification_datasets))
# short_univariate_datasets = [i[0] for i in dataset_properties if i[1] == 1 and i[2] <= 512]
# print(f"Number of short univariate datasets: {short_univariate_datasets}")

short_univariate_classification_datasets = [
    "/TimeseriesDatasets/classification/UCR/GestureMidAirD2/GestureMidAirD2_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/UWaveGestureLibraryX/UWaveGestureLibraryX_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GesturePebbleZ2/GesturePebbleZ2_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ECG5000/ECG5000_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/OSULeaf/OSULeaf_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/MedicalImages/MedicalImages_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Ham/Ham_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DistalPhalanxTW/DistalPhalanxTW_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ProximalPhalanxOutlineCorrect/ProximalPhalanxOutlineCorrect_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FreezerRegularTrain/FreezerRegularTrain_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/TwoLeadECG/TwoLeadECG_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GunPointMaleVersusFemale/GunPointMaleVersusFemale_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Trace/Trace_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/SmoothSubspace/SmoothSubspace_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/MiddlePhalanxTW/MiddlePhalanxTW_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/SyntheticControl/SyntheticControl_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ShapesAll/ShapesAll_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/AllGestureWiimoteX/AllGestureWiimoteX_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Wafer/Wafer_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FaceFour/FaceFour_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/CricketX/CricketX_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DistalPhalanxOutlineCorrect/DistalPhalanxOutlineCorrect_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ChlorineConcentration/ChlorineConcentration_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Chinatown/Chinatown_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GestureMidAirD1/GestureMidAirD1_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/MiddlePhalanxOutlineAgeGroup/MiddlePhalanxOutlineAgeGroup_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/UMD/UMD_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Crop/Crop_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GesturePebbleZ1/GesturePebbleZ1_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/WordSynonyms/WordSynonyms_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ArrowHead/ArrowHead_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Wine/Wine_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Coffee/Coffee_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Earthquakes/Earthquakes_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Herring/Herring_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Beef/Beef_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/MiddlePhalanxOutlineCorrect/MiddlePhalanxOutlineCorrect_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ECGFiveDays/ECGFiveDays_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Yoga/Yoga_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Adiac/Adiac_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/MoteStrain/MoteStrain_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Strawberry/Strawberry_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/InsectWingbeatSound/InsectWingbeatSound_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DodgerLoopWeekend/DodgerLoopWeekend_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Meat/Meat_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/MelbournePedestrian/MelbournePedestrian_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FaceAll/FaceAll_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FacesUCR/FacesUCR_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/AllGestureWiimoteY/AllGestureWiimoteY_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ShakeGestureWiimoteZ/ShakeGestureWiimoteZ_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/BME/BME_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FordB/FordB_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Fish/Fish_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/SonyAIBORobotSurface2/SonyAIBORobotSurface2_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FiftyWords/FiftyWords_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ToeSegmentation1/ToeSegmentation1_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FreezerSmallTrain/FreezerSmallTrain_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/TwoPatterns/TwoPatterns_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ShapeletSim/ShapeletSim_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Plane/Plane_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GestureMidAirD3/GestureMidAirD3_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DiatomSizeReduction/DiatomSizeReduction_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/CricketZ/CricketZ_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Lightning7/Lightning7_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/UWaveGestureLibraryY/UWaveGestureLibraryY_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GunPointAgeSpan/GunPointAgeSpan_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DistalPhalanxOutlineAgeGroup/DistalPhalanxOutlineAgeGroup_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/SwedishLeaf/SwedishLeaf_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/CBF/CBF_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/BeetleFly/BeetleFly_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/AllGestureWiimoteZ/AllGestureWiimoteZ_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DodgerLoopDay/DodgerLoopDay_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GunPointOldVersusYoung/GunPointOldVersusYoung_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/FordA/FordA_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ItalyPowerDemand/ItalyPowerDemand_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ProximalPhalanxOutlineAgeGroup/ProximalPhalanxOutlineAgeGroup_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/GunPoint/GunPoint_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ProximalPhalanxTW/ProximalPhalanxTW_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/PickupGestureWiimoteZ/PickupGestureWiimoteZ_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/SonyAIBORobotSurface1/SonyAIBORobotSurface1_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/PowerCons/PowerCons_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/PhalangesOutlinesCorrect/PhalangesOutlinesCorrect_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/BirdChicken/BirdChicken_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ToeSegmentation2/ToeSegmentation2_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/CricketY/CricketY_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ElectricDevices/ElectricDevices_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/DodgerLoopGame/DodgerLoopGame_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Fungi/Fungi_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/Symbols/Symbols_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/UWaveGestureLibraryZ/UWaveGestureLibraryZ_TEST.ts",
    "/TimeseriesDatasets/classification/UCR/ECG200/ECG200_TEST.ts",
]
